﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace Common
{
    public  class CommonPage : System.Web.UI.Page
    {
        public CommonPage()
        { }
        public void ShowMessage(string msg)
        {
            string javascript = "<script language='javascript' type='text/javascript'>alert('{0}');</script>";
            ClientScript.RegisterStartupScript(this.GetType(), "ShowMsg", string.Format(javascript, "操作成功"));     

        }
    }
}
